import request from '@/utils/request'
import { subUrl } from '@/api/dev'
const tempUrl = `${subUrl}/program`

//设备列表
export function getAllDevice(data) {
  return request({
    url: `${tempUrl}/getAllDeviceByCustNumber`,
    method: 'post',
    data,
  })
}
//设备汇总数据

export function getTotalDeviceData(data) {
  return request({
    url: `${tempUrl}/getTotalDeviceData`,
    method: 'post',
    data,
  })
}
